import { registBrodcastTransfer, unRegistBrodcastTransfer } from 'electron-wpc'
import { BROAD_CAST_LIST } from 'app/config'

export class BpcChannel {
    static init() {
        for (const broadcast of BROAD_CAST_LIST) {
            registBrodcastTransfer(broadcast, null)
        }
    }

    static unInstall() {
        unRegistBrodcastTransfer(...BROAD_CAST_LIST)
    }
}
